version: '3.8'

services:
  server:
    build: server
    command: poetry run uvicorn main:app --host 0.0.0.0 --port 80
    ports:
      - "8080:80"

  noise_generator:
    build: noise_gen
    command: poetry run uvicorn main:app --host 0.0.0.0 --port 88
    ports:
      - "8000:88"
#    network_mode: "host"
    depends_on:
      - server